package com.aspose.cells;

class zcdl extends zcdb {
   private static zcdl a = null;
   private static Object b = new Object();

   static zcdl a() {
      if (null == a) {
         Object var0 = b;
         synchronized(b) {
            if (null == a) {
               a = new zcdl();
            }
         }
      }

      return a;
   }

   zcdb a(zbmb var1) throws Exception {
      Object var2 = null;
      if (!(var1.a instanceof Double) && !(var1.a instanceof Integer) && !(var1.a instanceof Long)) {
         if (var1.a instanceof String) {
            var2 = new zbzv(var1);
         } else if (var1.a instanceof Boolean) {
            var2 = new zbzq(var1);
         } else if (var1.a instanceof DateTime) {
            var2 = new zbzr(var1);
         } else if (var1.a == null) {
            var2 = new zbzt(var1);
         } else {
            var2 = new zbzs(var1);
         }
      } else {
         var2 = new zbzu(var1);
      }

      return (zcdb)var2;
   }
}
